package com.tomcat.myapplication.http.i_http;

import com.tomcat.myapplication.bean.DataBean;
import com.tomcat.myapplication.http.HttpCodeData;

import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import rx.Observable;

public interface HttpService {

    @Headers({"Content-Type:application/json","Accept:application/json"})
    @POST("environmentalVehicleCompany/getEnvironmentalVehicleCompany")
    Observable<HttpCodeData<DataBean>> getDriverfree(@Body RequestBody json);
}
